package com.example.treeHole.utils;

import java.util.Locale;
import java.util.UUID;

public class Uuid {

    /**
     * 随机生成32位uuid
     * @return
     */
    public static String getUuID(){
        //获取32位的uuid
        String uuid= UUID.randomUUID().toString().replace("-", "").toUpperCase(Locale.ROOT).substring(0,32);
        return uuid;
    }
}
